package com.dnndo.wx.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 微信登录时绑定手机号接参实体
 */
@Data
@ApiModel(value = "微信登录时绑定手机号接参实体")
public class LoginBindPhoneDTO {
    /**
     * unionid
     */
    @NotBlank(message = "unionid不能为空")
    @ApiModelProperty(value = "unionid(code登录时返回的)",required = true)
    private String unionid;
    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号", required = true)
    private String phone;
    /**
     * 短信验证码
     */
    @NotBlank(message = "短信验证码不能为空")
    @ApiModelProperty(value = "短信验证码",required = true)
    private String smsCode;
}
